
<?= HTML::style('static/nicevalidator/jquery.validator.css')?>

<h3 class="page-header">添加用户</h3>

<form action="<?= URL::curr()?>" method="post" autocomplete="off" class="col-sm-6 col-md-4 ajax-submit">
	
	<div class="form-group">
		<input class="form-control" type="text" name="username" data-rule="用户名: required; length[4~]; remote[/admin/checkuname]" value="<?= $userInfo['username'] ?>" disabled>
		<span class="help-block msg-box" for="username"></span>
	</div>
	<div class="form-group">
		<input class="form-control" type="password" name="password" id="password" data-rule="密码: required; length(6~16)" placeholder="密码" required>
		<span class="help-block msg-box" for="password"></span>
	</div>

	<div class="form-group">
		<button type="submit" class="btn btn-info">提交</button>
	</div>
</form>


<?= HTML::script('static/nicevalidator/jquery.validator.min.js?local=zh-CN')?>

